#include <iostream>

using std::cout;
using std::endl;

class Te{
    // 虚构函数必须为public
public:
    ~Te()
    {
        cout << "~Te()" << endl;
    }
public:
    Te()
    {
        cout << "Te()" << endl;
    }
};

int main(int args, char *argv[])
{
    Te te;
    return 0;
}